<div class='fui-page fui-page-current order-comment-page'>
  <div class="jy2-headertopbg">
			<div class="fui-header" style="background:none">
				<div class="fui-header-left">
					<a class="back" style="color:#fff" href="javascript:" ng-click="goback()"></a>
				</div>
				<div class="title bold" style="font-size:1rem;color:#fff">配送评价</div>
				<div class="fui-header-right" style="padding-right:0.5rem;color:#fff">
					
				</div>
			</div>
  </div>
  <div class='fui-content jy2-headertop' style="padding:0 0.5rem;margin-bottom:1rem">
	<div ng-if="pagedata.item.noping==1" style="background:#fff;border-radius:0.5rem;padding:0.5rem 0;margin-top:0.5rem">
		<div class="content-empty" style="margin-bottom: 2rem;">
		  <i class="icon jinyunicon icon-cry" style="width: 6rem;margin-bottom: 2rem;"></i>
		  <br/>
		  <p style="color: #999;font-size: .75rem">评价已生效显示，不可修改评价！！</p>
		</div>
	</div>
	<div ng-if="pagedata.item.noping!=1" style="background:#fff;border-radius:0.5rem;padding:0.5rem 0;margin-top:0.5rem">
		<div class='fui-cell-group'>
			<div class="fui-cell">
				<div class="fui-cell-info">
					<div class='title'>
						<span ng-if="pagedata.item.sendtype==1" class="label label-success">配送上门</span> 
						<span ng-if="pagedata.item.sendtype!=1" class="label label-danger">上门自提</span>
						<span>({{pagedata.item.week}})</span>
					</div>
				</div>
				<div class='fui-cell-remark noremark'>
					<span class='fui-label fui-label-default gray' style="background:#f2f2f2;border-radius:0.2rem;">{{pagedata.item.statustitle}}</span>
				</div>
			</div>
			<div class="fui-cell">
				<div class="fui-cell-text" style="line-height:1.8">
					<div ng-if="pagedata.item.peimember.title">
						 <span class="text">
							 配送员：{{pagedata.item.peimember.title}}
						</span>
						<span class="text" href="tel:{{pagedata.item.peimember.mobile}}" style="padding-left:1rem;color:#00c568">
							 电话：{{pagedata.item.peimember.mobile}}
						</span>
					</div>
					<div ng-if="pagedata.item.day" class="red">{{pagedata.item.sendtype==2?'自提':'配送'}}时间:{{pagedata.item.day}}</div>
					<div style="line-height:1.4;color:#999;font-size:0.65rem"><i class="icon icon-wo1"></i> 联系人： <span class="text-danger" style="padding-right:0.5rem">{{pagedata.item.order_out.realname || pagedata.item.order_out.name}}  </span> 联系电话： <a href="tel:{{pagedata.item.order_out.mobile}}" class="text-danger">{{pagedata.item.order_out.mobile}}</a></div>
					<div style="line-height:1.4;color:#999;font-size:0.65rem"><i class="icon icon-ditu"></i>  配送地址： <span class="text-danger">{{pagedata.item.order_out.pcd.city}} {{pagedata.item.order_out.pcd.district}} {{pagedata.item.order_out.pcd.street}} {{pagedata.item.order_out.address}} </span> <a href="javascript:" ng-click="pagedata.openLocation(pagedata.item.order_out);" class="btn btn-sm btn-danger-o" style="font-size:0.65rem;line-height: 1.5;"><i class="icon icon-lvyoutehui"></i>导航</a></div>
				</div>
			</div>
			<div class="fui-cellone" ng-repeat="g in pagedata.item.goods" ng-if="g.num>0" style="padding:0.3rem 0.5rem">
							<div class="fui-cellone-info">
								{{g.title}}
							</div>
							<div ng-if="g.selespename" class="fui-cellone-info" style="color:red">
								{{g.selespename}}
							</div>
							<div class="fui-cellone-remark noremark">
								{{g.num}}件
							</div>
			</div>
		</div>
		<div class="fui-cell-group" style="margin-top:0">
		<div class='fui-cell'>
			 <div class='fui-cell-label'>综合评分</div>
			 <div class='fui-cell-info'>
				 <div class="fui-stars warning">
					 <span class="stars">
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':pagedata.post.star>0,'icon-shoucang':pagedata.post.star<1}" ng-click="pagedata.post.star=1"></i>
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':pagedata.post.star>1,'icon-shoucang':pagedata.post.star<2}" ng-click="pagedata.post.star=2"></i>
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':pagedata.post.star>2,'icon-shoucang':pagedata.post.star<3}" ng-click="pagedata.post.star=3"></i>
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':pagedata.post.star>3,'icon-shoucang':pagedata.post.star<4}" ng-click="pagedata.post.star=4"></i>
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':pagedata.post.star>4,'icon-shoucang':pagedata.post.star<5}" ng-click="pagedata.post.star=5"></i>
					</span>
				 </div>
			 </div>
		 </div>
		 <div class='fui-cell'>
			 <div class='fui-cell-label'>配送服务</div>
			 <div class='fui-cell-info'>
				 <div class="fui-stars warning">
					 <span class="stars">
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':pagedata.post.sendstar>0,'icon-shoucang':pagedata.post.sendstar<1}" ng-click="pagedata.post.sendstar=1"></i>
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':pagedata.post.sendstar>1,'icon-shoucang':pagedata.post.sendstar<2}" ng-click="pagedata.post.sendstar=2"></i>
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':pagedata.post.sendstar>2,'icon-shoucang':pagedata.post.sendstar<3}" ng-click="pagedata.post.sendstar=3"></i>
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':pagedata.post.sendstar>3,'icon-shoucang':pagedata.post.sendstar<4}" ng-click="pagedata.post.sendstar=4"></i>
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':pagedata.post.sendstar>4,'icon-shoucang':pagedata.post.sendstar<5}" ng-click="pagedata.post.sendstar=5"></i>
					</span>
				 </div>
			 </div>
		 </div>
		 <div class='fui-cell'>
			 <div class='fui-cell-label'>服务态度</div>
			 <div class='fui-cell-info'>
				 <div class="fui-stars warning">
					 <span class="stars">
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':pagedata.post.fuwustar>0,'icon-shoucang':pagedata.post.fuwustar<1}" ng-click="pagedata.post.fuwustar=1"></i>
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':pagedata.post.fuwustar>1,'icon-shoucang':pagedata.post.fuwustar<2}" ng-click="pagedata.post.fuwustar=2"></i>
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':pagedata.post.fuwustar>2,'icon-shoucang':pagedata.post.fuwustar<3}" ng-click="pagedata.post.fuwustar=3"></i>
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':pagedata.post.fuwustar>3,'icon-shoucang':pagedata.post.fuwustar<4}" ng-click="pagedata.post.fuwustar=4"></i>
								<i ng-class="{'icon':1, 'icon-shoucang-tianchong selected':pagedata.post.fuwustar>4,'icon-shoucang':pagedata.post.fuwustar<5}" ng-click="pagedata.post.fuwustar=5"></i>
					</span>
				 </div>
			 </div>
		 </div>
		<div class="fui-cell">
			<div class="fui-cell-info">
				<textarea rows="5" placeholder="从多角度评价宝贝，可以帮助更多想买的人" ng-model="pagedata.post.content"></textarea>
			</div>
		</div>
		<div class="fui-cell">
			<div class="fui-cell-info">晒图</div>
		 </div>
		<div class="weui_cells weui_cells_form" style="margin-top:0">
						<div class="weui_cell" style="padding-top:0">
							<div class="weui_cell_bd weui_cell_primary">
								<div class="weui_uploader">
									<div class="weui_uploader_bd">
										<ul class="weui_uploader_files">
											<li ng-repeat="p in pagedata.post.images track by $index" class="weui_uploader_file" style="background-image:url({{tomedia(p)}})">
												<div class="upbtn" >
													<a style="color:#f60" href="javascript:;" ng-click="pagedata.post.images.splice($index-1,0,p);pagedata.post.images.splice($index+1,1)">上移</a>
													<a style="color:#f60" href="javascript:;" ng-click="pagedata.post.images.splice($index,1)">删除</a>
												</div>
											</li>
										</ul>
										<div class="weui_uploader_input_wrp" href="javascript:;" ng-click="images(pagedata.post,'images',true)">
										</div>
									</div>
								</div>
							</div>
						</div>
		</div>
	 </div>
	 <button class="weui_btn weui_btn_primary" style="margin: auto;margin-top:1rem;width:60%;" ng-click="post(pagedata.post,'submit','','message')">提交评价</button>
  </div>      
</div>
</div> 